package Entity;

public class BookInvoice{
    private Book book;
    private int invoiceID;
    private int quantity;

    public BookInvoice(Book book, int quantity) {
    	this.setBook(book);
    	this.setQuantity(quantity); 
	}

	public BookInvoice() {
		this.book = new Book();
	}

	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public int getInvoiceID() {
		return invoiceID;
	}

	public void setInvoiceID(int invoiceID) {
		this.invoiceID = invoiceID;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
}
